﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0730
{
    /// <summary>
    ///  获取我收藏的商品列表
    /// </summary>
    public class InputMyGoods
    {
        /// <summary>
        ///  用户内部编码
        /// </summary>
        [Required(ErrorMessage = "userid：用户内部编码必传项！")]
        public string userid { get; set; }
        /// <summary>
        ///   类别【素材=0；作品=1；组件=2；度度圈=3】
        /// </summary>
        [RegularExpression("^([0,1,2,3])$", ErrorMessage = "请正确输入类别：素材=0；作品=1；组件=2；度度圈=3")]
        public int vrType { get; set; }
        /// <summary>
        ///  关键字 【模糊匹配名称、简介、别名】
        /// </summary>
        public string keyword { get; set; }
        /// <summary>
        ///  第几页
        /// </summary>
        public int page { get; set; } = 1;
        /// <summary>
        ///  每页几行
        /// </summary>
        public int rows { get; set; } = 10;
    }
}